﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace CampWeek5__Book_Project_.Models
{
    public class IndexVM
    {
        public List<IndexAuthorVM> Authors { get; set; }
        public List<IndexBookVM> Books { get; set; }
        public IndexBookVM FeaturedBook { get; set; }
    }

    public class IndexAuthorVM
    {
        public string AuthorImg { get; set; }
        public string AuthorName { get; set; }
        public int AuthorId { get; set; }
        public List<IndexBookVM> Books { get; set; }
    }

    public class IndexBookVM
    {
        public string Title { get; set; }
        public string AuthorName { get; set; }
        public string Summary { get; set; }
        public int AuthorId { get; set; }
        public string BookImg { get; set; }
        public int ISBN { get; set; }
        public double BookRating { get; set; }
    }
}